//
//  NetUrl.h
//  txlc_ios
//
//  Created by ayi on 2018/9/27.
//  Copyright © 2018年 txlc. All rights reserved.
//

#ifndef NetUrl_h
#define NetUrl_h

#if DEBUG

#define BASE_URL @"http://wuhanlinkonggang.com/"

#else

#define BASE_URL @"http://wuhanlinkonggang.com/"
//http://47.107.173.199:8080/
#endif


#define APPEND_URL(A,B)      [NSString stringWithFormat:@"%@%@",A,B]



//登录注册
#define Car_API_CreateIdentifyCode      APPEND_URL(BASE_URL , @"apiservice/sendSms.do")    //发送短信验证码
#define Car_API_Register      APPEND_URL(BASE_URL , @"appuser/register.do")    //12.用户注册
#define Car_API_Login     APPEND_URL(BASE_URL , @"appuser/login.do")    //13.用户登录
#define Car_API_70     APPEND_URL(BASE_URL , @"apiservice/validateCode.do")    //70.    校验验证码
//首页
#define Car_API_28      APPEND_URL(BASE_URL , @"apiservice/getConfigList.do")    //28.    平台配置信息列表-适用多条记录
#define Car_API_9      APPEND_URL(BASE_URL , @"apiservice/getCarSeriesList.do")    //9.    获取车系列表
#define Car_API_8      APPEND_URL(BASE_URL , @"apiservice/getCarBrandList.do")    //8.    获取品牌列表
#define Car_API_21      APPEND_URL(BASE_URL , @"apiservice/setUserPhoto.do")    //21.    更新用户头像
#define Car_API_22      APPEND_URL(BASE_URL , @"apiservice/getUserBaseInfo.do")    //22.    获取个人会员基本信息
#define Car_API_23      APPEND_URL(BASE_URL , @"apiservice/saveUserBaseInfo.do")    //23.    修改个人会员基本信息

#define Car_API_20      APPEND_URL(BASE_URL , @"appuser/setPwd.do")    //20.    修改登录密码

#define Car_API_FORGETPW      APPEND_URL(BASE_URL , @"appuser/forgetPwd.do")    //22.    忘记密码

#define Car_API_43      APPEND_URL(BASE_URL , @"apiservice/getFavoriteList.do")   //43.    收藏夹列表
#define Car_API_44      APPEND_URL(BASE_URL , @"apiservice/delFavorite.do")   //44.    删除收藏夹
#define Car_API_45      APPEND_URL(BASE_URL , @"apiservice/saveFavorite.do")   //45.    保存收藏夹

#define Car_API_61      APPEND_URL(BASE_URL , @"apiservice/getHelpList.do")   //61.    获取帮助列表
#define Car_API_59      APPEND_URL(BASE_URL , @"apiservice/saveFeedbackInfo.do")   //59.    保存意见反馈信息
#define Car_API_60      APPEND_URL(BASE_URL , @"apiservice/saveFeedbackInfoImg.do")   //60.    保存意见反馈信息图片
#define Car_API_48     APPEND_URL(BASE_URL , @"apiservice/saveInsurance.do")   //48.    保存保险预约
#define Car_API_51     APPEND_URL(BASE_URL , @"apiservice/saveMaintain.do")   //51.    保存维修保养预约
#define Car_API_46     APPEND_URL(BASE_URL , @"apiservice/getInsuranceList.do")   //46.    保险预约列表
#define Car_API_47     APPEND_URL(BASE_URL , @"apiservice/delInsurance.do")   //47.    删除保险预约
#define Car_API_49     APPEND_URL(BASE_URL , @"apiservice/getMaintainList.do")   //49.    维修保养预约列表
#define Car_API_50     APPEND_URL(BASE_URL , @"apiservice/delMaintain.do")   //50.    删除维修保养预约
#define Car_API_1     APPEND_URL(BASE_URL , @"apiservice/getArticle4Fb.do")   //1.    获取已发布的文章列表
#define Car_API_37     APPEND_URL(BASE_URL , @"apiservice/createCarClubTalk.do")   //37.    发表车友圈话题
#define Car_API_38     APPEND_URL(BASE_URL , @"apiservice/saveClubTalkImg.do")   //38.    上传车友圈图片
#define Car_API_30     APPEND_URL(BASE_URL , @"apiservice/getCarClubTalkList.do")   //30.    获取车友圈话题列表
#define CarManager_API_2     APPEND_URL(BASE_URL , @"apiservice/getOrderInfoList4Jxs.do")   //2.    用户订单
#define CarManager_API_3     APPEND_URL(BASE_URL , @"apiservice/getTradersOrderInfoList4Jxs.do")   //3.    经销商订单

#define Car_API_29     APPEND_URL(BASE_URL , @"apiservice/cancelZdOrderInfo.do")   //29.    取消终端订单信息
//apiservice/setUserPhoto.do
#define Car_API_31      APPEND_URL(BASE_URL , @"apiservice/getConfigInfo.do")   //31.    平台配置信息列表-适用单条记录
#define Car_API_Save_28      APPEND_URL(BASE_URL , @"apiservice/saveOrderInfo.do")  //28.    保存订单信息用单条记录
#define Car_API_67      APPEND_URL(BASE_URL , @"alipay/getJxsOrderAppPayInfo")  //67.    经销商订单支付宝APP支付
#define Car_API_65      APPEND_URL(BASE_URL , @"alipay/getZdOrderAppPayInfo.do")  //65.    终端订单支付宝APP支付
#define Car_API_69      APPEND_URL(BASE_URL , @"alipay/getZdOrderWeixinPayInfo.do")  //69.    终端订单微信预支付
//apiservice/setUserPhoto.do
#define Car_API_11      APPEND_URL(BASE_URL , @"apiservice/getTradersInfo.do")  //11.    获取经销商门店信息
#define Car_API_12      APPEND_URL(BASE_URL , @"apiservice/getTradersInfoByID.do")  //12.    根据ID获取经销商门店信息
#define Car_API_54      APPEND_URL(BASE_URL , @"apiservice/getTweetList.do")  //54.    经销商推文列表
#define Car_API_55      APPEND_URL(BASE_URL , @"apiservice/getTweet.do")  //55.    经销商推文具体信息
#define Car_API_2      APPEND_URL(BASE_URL , @"apiservice/getArticleInfo.do")  //2.    根据文章ID获取文章具体内容
#define Car_API_26      APPEND_URL(BASE_URL , @"apiservice/getOrderInfoList.do")  //26.    订单列表具体内容
#define Car_API_7      APPEND_URL(BASE_URL , @"apiservice/getDictList.do")  //7.    获取数据字典列表
#define Car_API_34     APPEND_URL(BASE_URL , @"apiservice/getCarClubTalkDetail.do")  //34.    获取车友圈话题详情
//apiservice/setUserPhoto.do

//文章
#define Car_API_getArticle4Fb      APPEND_URL(BASE_URL , @"apiservice/getArticle4Fb.do")    //1.获取已发布的文章列表



// 经销商在售车型
#define Car_API_getSaleCarList      APPEND_URL(BASE_URL , @"apiservice/getSaleCarList.do")    //1.12.获取经销商在售车型列表
#define Car_API_getSaleCarInfo      APPEND_URL(BASE_URL , @"apiservice/getSaleCarInfo.do")    //13.根据ID获取经销商在售车型具体信息
#define Car_API_getSaleCarCommentList      APPEND_URL(BASE_URL , @"apiservice/getSaleCarCommentList.do")    //14.根据在售车型ID获取已发布的评论列表
#define Car_API_saveSaleCarCommentInfo      APPEND_URL(BASE_URL , @"apiservice/saveSaleCarCommentInfo.do")    //17.保存车辆评论信息
#define Car_API_setSaleCarCommentDzs     APPEND_URL(BASE_URL , @"apiservice/setSaleCarCommentDzs.do")    //16.根据车辆评论ID进行点赞

#define Car_API_getComputeConfigList     APPEND_URL(BASE_URL , @"apiservice/getComputeConfigList.do")    //42.购车计算配置信息列表-适用多条记录
#define Car_API_getComputeConfigInfo     APPEND_URL(BASE_URL , @"apiservice/getComputeConfigInfo.do")    //43.购车计算配置信息列表-适用单条记录
#define Car_API_getComputeConfigAll     APPEND_URL(BASE_URL , @"apiservice/getComputeConfigAll.do")    //44.获取所有购车计算配置信息

#define Car_API_3      APPEND_URL(BASE_URL , @"apiservice/setArticleDzs.do")  //根据文章ID进行点赞
#define Car_API_5     APPEND_URL(BASE_URL , @"apiservice/saveArticleComment.do")  //5.    保存文章评论信息点赞
#define Car_API_6     APPEND_URL(BASE_URL , @"apiservice/setArticleCommonDzs.do")  //6.    根据评论ID进行点赞
#define Car_API_4     APPEND_URL(BASE_URL , @"apiservice/getArticleComment4Fb.do")  //4.    根据文章ID获取已发布的评论列表

#define Car_API_CIRCLE_37     APPEND_URL(BASE_URL , @"apiservice/likeCarClubTalk.do")  //37.    车友圈话题点赞评论列表
#define Car_API_CIRCLE_36     APPEND_URL(BASE_URL , @"apiservice/commentCarClubTalk.do")  //36.    评论车友圈话题
#define Car_API_CIRCLE_41     APPEND_URL(BASE_URL , @"apiservice/likeCarClubTalkComment.do")  //41.    车友圈话题评论点赞
#define Car_API_CIRCLE_10     APPEND_URL(BASE_URL , @"apiservice/getTradersList.do")  //10.    获取经销商列表
#define Car_API_CIRCLE_33     APPEND_URL(BASE_URL , @"apiservice/getCarClubTalkLatestList.do")  //33.    获取车友圈话题最新动态
#endif /* NetUrl_h */
